package sz.szsmk.citizencard.mvp.contract;

import sz.szsmk.citizencard.model.network.bean.request.QueryBalanceRes;
import sz.szsmk.citizencard.model.network.bean.response.QueryUserBindCardRes;
import sz.szsmk.citizencard.ui.base.IBaseContact;

import java.util.List;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/6/4 19:59
 * description:
 */
public interface IQueryBalanceContact {

    interface IQueryBalancePresenter<T extends IBaseContact.IBaseView> extends IBaseContact.IBasePresenter {
        void querybalance(String etCard);


        void queryBindCard();
    }

    interface IQueryBalanceView extends IBaseContact.IBaseView {
        // 获得数据失败
        void querybalanceError(QueryBalanceRes message);

        void querybalanceSucc(QueryBalanceRes response, String etCard);


        void queryBindCardSucc(List<QueryUserBindCardRes.UserCardExBean> userCardEx);

        void queryBindCardFail(String string);

    }

}
